home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / gimp / 2.0 / help / en / gimp-image-canvas-size.html < prev    next >
Encoding:
Extensible Markup Language  |  2008-05-03  |  19.2 KB  |  481 lines

  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4.   <head>
  5.     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6.     <title>9.11.¬† Canvas Size</title>
  7.     <link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
  8.     <link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
  9.     <link rel="stylesheet" href="gimp-help-custom.css" type="text/css" />
  10.     <link rel="alternate stylesheet" href="gimp22.css" type="text/css" title="gimp22" />
  11.     <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
  12.     <link rel="start" href="index.html" title="GNU Image Manipulation Program" />
  13.     <link rel="up" href="gimp-imagewindow-menus-image.html" title="9.¬† The ‚ÄúImage‚Äù Menu" />
  14.     <link rel="prev" href="plug-in-guillotine.html" title="9.10.¬† Guillotine" />
  15.     <link rel="next" href="gimp-image-fit-canvas-to-layers.html" title="9.12.¬† Fit Canvas to Layers" />
  16.   </head>
  17.   <body>
  18.     <div class="navheader">
  19.       <table width="100%" summary="Navigation header">
  20.         <tr>
  21.           <th colspan="3" align="center">9.11.¬†
  22.     <span lang="en" xml:lang="en">Canvas Size</span>
  23.   </th>
  24.         </tr>
  25.         <tr>
  26.           <td width="20%" align="left"><a accesskey="p" href="plug-in-guillotine.html"><img src="../images/prev.png" alt="Prev" /></a>¬†</td>
  27.           <th width="60%" align="center">9.¬†
  28.     <span lang="en" xml:lang="en">The ‚Äú<span class="quote">Image</span>‚Äù Menu</span>
  29.   </th>
  30.           <td width="20%" align="right">¬†<a accesskey="n" href="gimp-image-fit-canvas-to-layers.html"><img src="../images/next.png" alt="Next" /></a></td>
  31.         </tr>
  32.       </table>
  33.       <hr />
  34.     </div>
  35.     <div class="sect2" lang="en" xml:lang="en">
  36.       <div class="titlepage">
  37.         <div>
  38.           <div>
  39.             <h3 class="title"><a id="gimp-image-canvas-size"></a>9.11.¬†
  40.     <span lang="en" xml:lang="en">Canvas Size</span>
  41.   </h3>
  42.           </div>
  43.           <div>
  44.             <div class="revhistory">
  45.               <table border="1" width="100%" summary="Revision history">
  46.                 <tr>
  47.                   <th align="left" valign="top" colspan="3">
  48.                     <b>Revision History</b>
  49.                   </th>
  50.                 </tr>
  51.                 <tr>
  52.                   <td align="left">Revision $Revision: 2416 $</td>
  53.                   <td align="left">2007-11-14</td>
  54.                   <td align="left">j.h</td>
  55.                 </tr>
  56.               </table>
  57.             </div>
  58.           </div>
  59.         </div>
  60.       </div>
  61.       <a id="id2698056" class="indexterm"></a>
  62.       <a id="id2698070" class="indexterm"></a>
  63.       <p>
  64.     The ‚Äú<span class="quote">canvas</span>‚Äù is the visible area of the image. By default
  65.     the size of the canvas coincides with the size of the layers. The
  66.     <span class="guimenuitem">Canvas Size</span> command lets you enlarge or
  67.     reduce the canvas size. You can, if you want, modify the size of the
  68.     layers. When you enlarge the canvas, you create free space around
  69.     the contents of the image. When you reduce it, the visible area is
  70.     cropped, however the layers still extend beyond the canvas border.
  71.   </p>
  72.       <p>
  73.     When you reduce the canvas size, the new canvas appears surrounded with
  74.     a thin negative border in the preview. The mouse pointer is a moving
  75.     cross: click and drag to move the image against this frame.
  76.   </p>
  77.       <div class="sect3" lang="en" xml:lang="en">
  78.         <div class="titlepage">
  79.           <div>
  80.             <div>
  81.               <h4 class="title"><a id="id2698114"></a>9.11.1.¬†
  82.       <span lang="en" xml:lang="en">Activate the Command</span>
  83.     </h4>
  84.             </div>
  85.           </div>
  86.         </div>
  87.         <div class="itemizedlist">
  88.           <ul type="disc">
  89.             <li>
  90.               <p>
  91.           You can access this command from the image menubar through
  92.           <span class="guimenu"><span class="accel">I</span>mage</span> ‚Üí <span class="guimenuitem">Can<span class="accel">v</span>as Size</span>.
  93.         </p>
  94.             </li>
  95.           </ul>
  96.         </div>
  97.       </div>
  98.       <div class="sect3" lang="en" xml:lang="en">
  99.         <div class="titlepage">
  100.           <div>
  101.             <div>
  102.               <h4 class="title"><a id="id2698164"></a>9.11.2.¬†
  103.       <span lang="en" xml:lang="en">
  104.         Description of the ‚Äú<span class="quote">Canvas size</span>‚Äù dialog
  105.       </span>
  106.     </h4>
  107.             </div>
  108.           </div>
  109.         </div>
  110.         <div class="figure">
  111.           <a id="id2698179"></a>
  112.           <p class="title">
  113.             <b>Figure¬†15.72.¬†
  114.         <span lang="en" xml:lang="en">
  115.           The ‚Äú<span class="quote">Canvas size</span>‚Äù dialog
  116.         </span>
  117.       </b>
  118.           </p>
  119.           <div class="figure-contents">
  120.             <div class="mediaobject">
  121.               <img src="../images/menus/image-canvas-size.png" alt="The Canvas size dialog" />
  122.             </div>
  123.           </div>
  124.         </div>
  125.         <br class="figure-break" />
  126.         <div class="variablelist">
  127.           <p class="title">
  128.             <b>
  129.         <span lang="en" xml:lang="en">Canvas Size</span>
  130.       </b>
  131.           </p>
  132.           <dl>
  133.             <dt>
  134.               <span class="term">Width; Height</span>
  135.             </dt>
  136.             <dd>
  137.               <p>
  138.             You can set the <span class="guilabel">Width</span> and the
  139.             <span class="guilabel">Height</span> of the canvas. The default
  140.             units are pixels but you can choose different units, e.g.
  141.             percent, if you want to set the new dimensions relative to the
  142.             current dimensions. If the Chain to the right of the Width and
  143.             Height is not broken, both Width and Height keep the same
  144.             relative size to each other. That is, if you change one of the
  145.             values, the other one also changes a corresponding amount.
  146.             If you break the Chain by clicking on it, you can set
  147.             Width and Height separately.
  148.           </p>
  149.               <p>
  150.             Whatever units you use, information about the size in pixels
  151.             and the current resolution are always displayed below the
  152.             <span class="emphasis"><em>Width</em></span> and <span class="emphasis"><em>Height</em></span>
  153.             fields. You cannot change the resolution in the
  154.             <span class="guimenu">Canvas Size</span> dialog; if you want to
  155.             do that, use the <a class="link" href="gimp-image-print-size.html" title="9.13.¬† Print Size">Print
  156.             Size dialog</a>.
  157.           </p>
  158.             </dd>
  159.           </dl>
  160.         </div>
  161.         <div class="variablelist">
  162.           <p class="title">
  163.             <b>
  164.         <span lang="en" xml:lang="en">Offset</span>
  165.       </b>
  166.           </p>
  167.           <p>
  168.         The <span class="guilabel">Offset</span> values are used to place the image
  169.         on the canvas. You can see the size and the content of the canvas in
  170.         the preview of the dialog window. When the canvas is smaller than
  171.         the image, the preview window shows it in a frame with a thin
  172.         negative border. You can also modify the offset by click-and-dragging
  173.         on the preview.
  174.       </p>
  175.           <dl>
  176.             <dt>
  177.               <span class="term">X¬†; Y</span>
  178.             </dt>
  179.             <dd>
  180.               <p>
  181.             The <span class="guilabel">X</span> and <span class="guilabel">Y</span>
  182.             parameters specify the coordinates of the upper left
  183.             corner of the image relative to the upper left corner of
  184.             the canvas. When the canvas is smaller than the image, the X and
  185.             Y values are negative. You can change these values by using the
  186.             text boxes. The default units are pixels, but you can choose
  187.             different units. By clicking on the arrows next to the text
  188.             boxes, you can move the image one pixel at a time. You can
  189.             move the image ten pixels at a time by clicking on the arrows
  190.             while pressing the <span class="keycap"><strong>Shift</strong></span> key.
  191.           </p>
  192.             </dd>
  193.             <dt>
  194.               <span class="term">Layers</span>
  195.             </dt>
  196.             <dd>
  197.               <p>
  198.             Before the GIMP-2.4 version, ‚Äú<span class="quote">Canvas Size</span>‚Äù had no
  199.             influence on layer size. To change it, you had to use the <a class="link" href="gimp-layer-resize.html" title="10.48.¬† Layer Boundary Size">Layer Boundary Size</a> command.
  200.             The ‚Äú<span class="quote">Layers</span>‚Äù option now allows you to specify how,
  201.             possibly, layers will be resized. The drop-down list offers you
  202.             several possibilities:
  203.           </p>
  204.               <div class="figure">
  205.                 <a id="id2698407"></a>
  206.                 <p class="title">
  207.                   <b>Figure¬†15.73.¬†
  208.               <span lang="en" xml:lang="en">The Resize layers list</span>
  209.             </b>
  210.                 </p>
  211.                 <div class="figure-contents">
  212.                   <div class="mediaobject">
  213.                     <img src="../images/menus/image-canvas-size-list.png" alt="The Resize layers list" />
  214.                   </div>
  215.                 </div>
  216.               </div>
  217.               <br class="figure-break" />
  218.               <div class="itemizedlist">
  219.                 <ul type="disc">
  220.                   <li>
  221.                     <p>
  222.                 <span class="guilabel">None</span>: default option. No layer is
  223.                 resized, only the canvas is.
  224.               </p>
  225.                   </li>
  226.                   <li>
  227.                     <p>
  228.                 <span class="guilabel">All Layers</span>: all layers are resized to
  229.                 canvas size.
  230.               </p>
  231.                   </li>
  232.                   <li>
  233.                     <p>
  234.                 <span class="guilabel">Image-sized layers</span>: only layers with
  235.                 the same size as the image are sized to canvas size.
  236.               </p>
  237.                   </li>
  238.                   <li>
  239.                     <p>
  240.                 <span class="guilabel">All visible layers</span>: only visible
  241.                 layers, marked with a
  242.                 <span class="guiicon"><img src="../images/dialogs/stock-eye-20.png" />
  243.                 </span> icon, in the Layer Dialog,
  244.                 are sized to canvas size.
  245.               </p>
  246.                   </li>
  247.                   <li>
  248.                     <p>
  249.                 <span class="guilabel">All linked layers</span>: only linked layers,
  250.                 marked with a
  251.                 <span class="guiicon"><img src="../images/dialogs/stock-vchain-24.png" />
  252.                 </span> in the Layer Dialog,
  253.                 are sized to canvas size.
  254.               </p>
  255.                   </li>
  256.                 </ul>
  257.               </div>
  258.             </dd>
  259.             <dt>
  260.               <span class="term">Center</span>
  261.             </dt>
  262.             <dd>
  263.               <p>
  264.             The <span class="guilabel">Center</span> button allows you to center the
  265.             image on the canvas. When you click on the Center button,
  266.             the offset values are automatically calculated and displayed in
  267.             the text boxes.
  268.           </p>
  269.             </dd>
  270.           </dl>
  271.         </div>
  272.         <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
  273.           <table border="0" summary="Note">
  274.             <tr>
  275.               <td rowspan="2" align="center" valign="top" width="25">
  276.                 <img alt="[Note]" src="../images/note.png" />
  277.               </td>
  278.               <th align="left">Note</th>
  279.             </tr>
  280.             <tr>
  281.               <td align="left" valign="top">
  282.                 <p>
  283.         When you click on the <span class="guilabel">Resize</span> button,
  284.         the canvas is resized, but the pixel information and the drawing
  285.         scale of the image are unchanged.
  286.       </p>
  287.                 <p>
  288.         If the layers of the image did not extend beyond the borders of
  289.         the canvas before you changed its size, there are
  290.         no layers on the part of the canvas that was added by resizing it.
  291.         Therefore, this part of the canvas is transparent and displayed
  292.         with a checkered pattern, and it is not immediately available for
  293.         painting. You can either
  294.         <a class="link" href="gimp-image-flatten.html" title="9.19.¬† Flatten Image">flatten</a>
  295.         the image, in which case you will get an image with a single layer
  296.         that fits the canvas exactly, or you can use the
  297.         <a class="link" href="gimp-layer-resize-to-image.html" title="10.49.¬† Layer to Image Size">Layer to Image Size</a>
  298.         command to resize only the active layer, without changing any other
  299.         layers. You can also create a new layer and fill it with the
  300.         background you want. By doing this, you create a
  301.         digital ‚Äú<span class="quote">passe-partout</span>‚Äù (a kind of glass mount
  302.         with a removable back for slipping in a photograph).
  303.       </p>
  304.               </td>
  305.             </tr>
  306.           </table>
  307.         </div>
  308.       </div>
  309.       <div class="sect3" lang="en" xml:lang="en">
  310.         <div class="titlepage">
  311.           <div>
  312.             <div>
  313.               <h4 class="title"><a id="id2698628"></a>9.11.3.¬†
  314.       <span lang="en" xml:lang="en">Example</span>
  315.     </h4>
  316.             </div>
  317.           </div>
  318.         </div>
  319.         <div class="figure">
  320.           <a id="id2698641"></a>
  321.           <p class="title">
  322.             <b>Figure¬†15.74.¬†
  323.         <span lang="en" xml:lang="en">Original image</span>
  324.       </b>
  325.           </p>
  326.           <div class="figure-contents">
  327.             <div class="mediaobject">
  328.               <img src="../images/menus/image-canvas-size-ex1.png" alt="Original image" />
  329.               <div class="caption">
  330.                 <p>
  331.             We started with a green background layer 100x100 pixels, which
  332.             defines a default canvas with the same size. Then we added a new
  333.             red layer 80x80 pixels. The active layer limits are marked with a
  334.             black and yellow dotted line. The red layer does not fill the
  335.             canvas completely: the unoccupied part is transparent. The
  336.             background color in the Toolbox is yellow.
  337.           </p>
  338.               </div>
  339.             </div>
  340.           </div>
  341.         </div>
  342.         <br class="figure-break" />
  343.         <div class="figure">
  344.           <a id="id2698684"></a>
  345.           <p class="title">
  346.             <b>Figure¬†15.75.¬†
  347.         <span lang="en" xml:lang="en">Canvas enlarged (layers unchanged)</span>
  348.       </b>
  349.           </p>
  350.           <div class="figure-contents">
  351.             <div class="mediaobject">
  352.               <img src="../images/menus/image-canvas-size-ex2.png" alt="Canvas enlarged (layers unchanged)" />
  353.               <div class="caption">
  354.                 <p>
  355.             The canvas has been enlarged to 120x120 pixels. The layers
  356.             size remained unchanged. The unoccupied part of the canvas is
  357.             transparent.
  358.           </p>
  359.               </div>
  360.             </div>
  361.           </div>
  362.         </div>
  363.         <br class="figure-break" />
  364.         <div class="figure">
  365.           <a id="id2698723"></a>
  366.           <p class="title">
  367.             <b>Figure¬†15.76.¬†
  368.         <span lang="en" xml:lang="en">Canvas enlarged (All layers changed)</span>
  369.       </b>
  370.           </p>
  371.           <div class="figure-contents">
  372.             <div class="mediaobject">
  373.               <img src="../images/menus/image-canvas-size-ex3.png" alt="Canvas enlarged (All layers changed)" />
  374.               <div class="caption">
  375.                 <p>
  376.             The canvas has been enlarged to 120x120 pixels. All layers
  377.             have been enlarged to the canvas size. The undrawn part is
  378.             transparent in the red layer and yellow (background color in
  379.             Toolbox) in the green background layer.
  380.           </p>
  381.               </div>
  382.             </div>
  383.           </div>
  384.         </div>
  385.         <br class="figure-break" />
  386.       </div>
  387.       <div class="sect3" lang="en" xml:lang="en">
  388.         <div class="titlepage">
  389.           <div>
  390.             <div>
  391.               <h4 class="title"><a id="id2698765"></a>9.11.4.¬†
  392.       <span lang="en" xml:lang="en">What's Canvas Size useful for?</span>
  393.     </h4>
  394.             </div>
  395.           </div>
  396.         </div>
  397.         <p>You can use this command to crop an image:</p>
  398.         <div class="figure">
  399.           <a id="id2698784"></a>
  400.           <p class="title">
  401.             <b>Figure¬†15.77.¬†
  402.         <span lang="en" xml:lang="en">Resizing canvas</span>
  403.       </b>
  404.           </p>
  405.           <div class="figure-contents">
  406.             <div class="mediaobject">
  407.               <img src="../images/menus/image-canvas-size-ex4.png" alt="Resizing canvas" />
  408.             </div>
  409.           </div>
  410.         </div>
  411.         <br class="figure-break" />
  412.         <p>
  413.       Click on the chain next to Width and Height entries to unlink
  414.       dimensions. By modifying these dimensions and moving image against
  415.       canvas, by trial and error, you can crop the part of the image you
  416.       want. Click on the Center button and then on the Resize button.
  417.     </p>
  418.         <div class="figure">
  419.           <a id="id2698822"></a>
  420.           <p class="title">
  421.             <b>Figure¬†15.78.¬†
  422.         <span lang="en" xml:lang="en">Cropped image</span>
  423.       </b>
  424.           </p>
  425.           <div class="figure-contents">
  426.             <div class="mediaobject">
  427.               <img src="../images/menus/image-canvas-size-ex5.png" alt="Cropped image" />
  428.             </div>
  429.           </div>
  430.         </div>
  431.         <br class="figure-break" />
  432.         <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
  433.           <table border="0" summary="Note">
  434.             <tr>
  435.               <td rowspan="2" align="center" valign="top" width="25">
  436.                 <img alt="[Note]" src="../images/note.png" />
  437.               </td>
  438.               <th align="left">Note</th>
  439.             </tr>
  440.             <tr>
  441.               <td align="left" valign="top">
  442.                 <p>
  443.         The <a class="link" href="gimp-tool-crop.html" title="4.4.¬† Crop">Crop tool</a> is easier to
  444.         use.
  445.       </p>
  446.               </td>
  447.             </tr>
  448.           </table>
  449.         </div>
  450.       </div>
  451.     </div>
  452.     <div class="navfooter">
  453.       <hr />
  454.       <table width="100%" summary="Navigation footer">
  455.         <tr>
  456.           <td width="40%" align="left"><a accesskey="p" href="plug-in-guillotine.html"><img src="../images/prev.png" alt="Prev" /></a>¬†</td>
  457.           <td width="20%" align="center">
  458.             <a accesskey="u" href="gimp-imagewindow-menus-image.html">
  459.               <img src="../images/up.png" alt="Up" />
  460.             </a>
  461.           </td>
  462.           <td width="40%" align="right">¬†<a accesskey="n" href="gimp-image-fit-canvas-to-layers.html"><img src="../images/next.png" alt="Next" /></a></td>
  463.         </tr>
  464.         <tr>
  465.           <td width="40%" align="left" valign="top"><a accesskey="p" href="plug-in-guillotine.html">9.10.¬†
  466.     <span lang="en" xml:lang="en">Guillotine</span>
  467.   </a>¬†</td>
  468.           <td width="20%" align="center">
  469.             <a accesskey="h" href="index.html">
  470.               <img src="../images/home.png" alt="Home" />
  471.             </a>
  472.           </td>
  473.           <td width="40%" align="right" valign="top">¬†<a accesskey="n" href="gimp-image-fit-canvas-to-layers.html">9.12.¬†
  474.     <span lang="en" xml:lang="en">Fit Canvas to Layers</span>
  475.   </a></td>
  476.         </tr>
  477.       </table>
  478.     </div>
  479.   </body>
  480. </html>
  481.